aux_source_directory(. ringbuff_src)
add_library(ringbuff ${ringbuff_src})
TARGET_LINK_LIBRARIES(ringbuff log)

include_directories(../log)